<?php

interface ISearchInterface
{
    public function toIndex(array $data);
    public function deleteById($id);
    public function search($query, $offset = 0, $limit = 10, $params = array());    
}